using System.Web.SessionState;
using Web.App.Infrastructure.Context.Contracts;

namespace Webshop20.UnitTests.Fakes
{
    public class CustomSessionState : ICustomSessionState
    {
        readonly SessionStateItemCollection collection = new SessionStateItemCollection();

        object ICustomSessionState.this[string name]
        {
            get { return collection[name]; }
            set { collection[name] = value; }
        }

        object ICustomSessionState.this[int index]
        {
            get { return collection[index]; }
            set { collection[index] = value; }
        }
    }
}